<!DOCTYPE html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>疫情信息管理后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" type="image/png" th:href="@{/assets/images/icon/favicon.ico}">
    <link rel="stylesheet" th:href="@{/assets/css/bootstrap.mincopy.css}">
    <link rel="stylesheet" th:href="@{/assets/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/assets/css/themify-icons.css}">
    <link rel="stylesheet" th:href="@{/assets/css/metisMenu.css}">
    <link rel="stylesheet" th:href="@{/assets/css/owl.carousel.min.css}">
    <link rel="stylesheet" th:href="@{/assets/css/slicknav.min.css}">
    <!-- amchart css -->
    <link rel="stylesheet" th:href="@{/assets/css/export.css}" type="text/css" media="all"/>
    <!-- others css -->
    <link rel="stylesheet" th:href="@{/assets/css/typography.css}">
    <link rel="stylesheet" th:href="@{/assets/css/default-css.css}">
    <link rel="stylesheet" th:href="@{/assets/css/styles.css}">
    <link rel="stylesheet" th:href="@{/assets/css/responsive.css}">


    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />


    <!-- modernizr css -->
    <script th:src="@{assets/js/vendor/modernizr-2.8.3.min.js}"></script>

</head>

<body>
<div id="preloader">
    <div class="loader"></div>
</div>
<!-- preloader area end -->
<!-- page container area start -->
<form id="form" action="/admin/Good" method="post">
    <div class="page-container">

        <!-- sidebar menu area start -->
        <div class="sidebar-menu">
            <div class="main-menu">
                <div class="menu-inner" style="width: 100%; height: 500px; overflow: hidden;">
                    <nav>
                        <ul class="metismenu" id="menu">





                            <li class="active">
                                <a href="javascript:void(0)" aria-expanded="true">
                                    <span>用户信息统计</span>
                                </a>
                                <ul class="collapse">
                                    <li><a th:href="@{/admin/getUsersUnpostToday}">查询今天未打卡用户</a></li>
                                </ul>
                                <ul class="collapse">
                                    <li class="active"><a th:href="@{/admin/getUsersUnhealthyToday}">查询今天身体不适用户</a></li>
                                </ul>

                                <ul class="collapse">
                                    <li><a th:href="@{/admin/jumpToGetRecordsByTime}">按时间查询</a></li>
                                </ul>

                            </li>





                            <li>
                                <a href="javascript:void(0)" aria-expanded="true">
                                    <span>用户管理</span>
                                </a>
                                <ul class="collapse">
                                    <li ><a th:href="@{/admin/getAllUsers}">用户信息</a></li>
                                </ul>

                                <ul class="collapse">
                                    <li ><a th:href="@{/admin/jumpToAddUserInput}">添加新用户</a></li>
                                </ul>
                            </li>







                            <li>
                                <a href="javascript:void(0)" aria-expanded="true">
                                    <span>管理员管理模块</span>
                                </a>

                                <ul class="collapse" >
                                    <li><a th:href="@{/root/getAllAdmins}">管理账号</a></li>
                                </ul>
                                <ul class="collapse" >
                                    <li><a th:href="@{/root/jumpToAddAdminInput}">增加管理员</a></li>
                                </ul>
                            </li>
                            <li><a th:href="@{/logout}"><span>退出登录</span></a></li>
                        </ul>
                    </nav>
                </div>
            </div>
        </div>
        <!-- sidebar menu area end -->
        <!-- main content area start -->
        <div class="main-content">
            <!-- header area start -->

            <div class="main-content-inner">

                <table class="table table-bordered table-striped table-hover">
                    <thead>
                    <tr>
                        <th>账号</th>
                        <th>姓名</th>
                        <th>电话</th>
                        <th>地址</th>
                        <th>身体状况</th>
                        <th>今天是否打卡了</th>

                    </tr>
                    </thead>

                    <tbody>
                    <tr th:each="formInfo:${formInfos}" >

                        <td th:text="${formInfo.username}"></td>
                        <td th:text="${formInfo.name}"></td>
                        <td th:text="${formInfo.phone}"></td>
                        <td th:text="${formInfo.location}"></td>
                        <td th:text="${formInfo.health}"></td>
                        <td th:text="${formInfo.isPostToday}"></td>

                    </tr>
                    </tbody>

                </table>

            </div>
        </div>
        <!-- main content area end -->

    </div>
</form>
<script th:src="@{/assets/js/vendor/jquery-2.2.4.min.js}"></script>
<!-- bootstrap 4 js -->
<script th:src="@{/assets/js/popper.min.js}"></script>
<script th:src="@{/assets/js/bootstrap.min.js}"></script>
<script th:src="@{/assets/js/owl.carousel.min.js}"></script>
<script th:src="@{/assets/js/metisMenu.min.js}"></script>
<script th:src="@{/assets/js/jquery.slimscroll.min.js}"></script>
<script th:src="@{/assets/js/jquery.slicknav.min.js}"></script>

<!-- start chart js -->
<script th:src="@{/assets/js/Chart.min.js}"></script>
<!-- start highcharts js -->
<script th:src="@{/assets/js/highcharts.js}"></script>
<!-- start zingchart js -->
<script th:src="@{/assets/js/zingchart.min.js}"></script>
<script>
    zingchart.MODULESDIR = "assets/js/modules/";
    ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "ee6b7db5b51705a13dc2339db3edaf6d"];
</script>
<!-- all line chart activation -->
<script th:src="@{https://www.amcharts.com/lib/3/amcharts.js}"></script>
<script th:src="@{https://www.amcharts.com/lib/3/serial.js}"></script>
<script th:src="@{https://www.amcharts.com/lib/3/themes/light.js}"></script>
<script th:src="@{/assets/js/bar-chart-main.js}"></script>
<script th:src="@{/assets/js/line-chart-main.js}"></script>
<!-- all pie chart -->
<script th:src="@{/assets/js/pie-chart.js}"></script>
<!-- others plugins -->
<script th:src="@{/assets/js/plugins.js}"></script>
<script th:src="@{/assets/js/scripts.js}"></script>

</body>

</html>
